package com.jlcindia;

public class Oopstest24 {
public static void main(String[] args) {
		new Abc24();
		System.out.println("=======");
		new Hello24(12);
		System.out.println("=======");
		new Hello24();
		System.out.println("=======");
		new Hello24(43);

	}

}
class Abc24{
	Abc24(){
		System.out.println("---Abc Def Cons-:"+this);
	}	
	// IIB
	{
  System.out.println("\n***INSTANCE BLOCK OF ABC***:"+this);
	}

}

class Hello24 extends Abc24{
	Hello24(){
		System.out.println("Hello() Def cons:"+this);
	}
	
	Hello24(int ab){
		System.out.println("Hello(int) Def cons:"+this);
	}
	//IIB
	{
		System.out.println("NON-STATIC BLOCK");
	}
	//SIB
	static{
		System.out.println("\n=STATIC BLOCK");
	}

}
	